﻿using ChuanYe.CountyFireManagement.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace ChuanYe.CountyFireManagement.Api.Models
{
    public class CarShearchRequest : RequestPageBase
    {
        /// <summary>
        /// 0.未启用  1.已启用
        /// </summary>
        public int? IsEnable { get; set; }

        /// <summary>
        /// CarNo CarName AliasName GpsDeviceName
        /// </summary>
        public override string Keyword { get; set; }
    }


    
    public class CarRequest:RemoveCarRequest
    {

        /// <summary>
        /// 车牌号
        /// </summary>
        public string CarNo { get; set; }

        /// <summary>
        /// 汽车名称
        /// </summary>
        public string CarName { get; set; }

        /// <summary>
        /// 汽车别名
        /// </summary>
        public string AliasName { get; set; }


        /// <summary>
        /// 品牌
        /// </summary>
        public string Brand { get; set; }

        /// <summary>
        /// 出厂时间
        /// </summary>
        public DateTime DeliveryTime { get; set; }

        /// <summary>
        /// 选填
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 选填 0.未启用 1.启用(默认)
        /// </summary>
        public int? IsEnable { get; set; }
    }


    public class RemoveCarRequest
    {
        /// <summary>
        /// 主键 增加时忽略
        /// </summary>
        public int CarId { get; set; }

    }
}
